The invention relates to the compounds of formula I (I) wherein A is N or CH;and n is 0 or 1; or thepharmaceuti-cally acceptable salts thereof, for preventing or treatingintestinal diseases which are caused by bacteria selected from Clostridiumdifficile, Clostridium perfringens or Staphylococcus aureus.