The present invention relates to compounds of formula (I) hetaryl is a five membered heteroaryl group, containing 1 to 3 heteroatoms, selected from O, S or N R1 is hydrogen, halogen, lower alkyl, lower alkoxy, lower alkyl substituted by halogen, S-lower alkyl substituted by halogen or lower alkoxy substituted by halogen, or two neighboring carbon atoms may form on phenyl an additional ring containing -O-CH2-O- n is 1 to 5 R2 is hydrogen or lower alkyl substituted by halogen R3 is hydrogen or lower alkyl substituted by halogen or to pharmaceutically active acid addition salts thereof, to racemic mixtures or to its corresponding enantiomers or optical isomers or stereoisomers thereof. The compounds may be used for the treatment of Alzheimers disease, cerebral amyloid angiopathy, hereditary cerebral hemorrhage with amyloidosis, Dutch-type (HCHWA-D), multi-infarct dementia, dementia pugilistica or Down syndrome.