This disclosure relates to compounds of formula (I) or a pharmaceutically acceptable salt thereof: Formula (I), in which n, R1, R1', R2, R3, R4, R4', and R5-R14 are defined in the specification. The compounds of formula (I) can be used to treat bacterial infection.