compounds. a compound of formula (i) or a pharmaceutically acceptable salt or prodrug thereof wherein x is n or ch; q is nr ^ 6 ^ or o; Al2 and Al2 are independently hydrogen or C1-6 alkyl or may together form a carbonyl group; R ^ 1 ^ and R ^ 2 ^ are independently hydrogen, halogen, cf ~ 3 ~, cn, or ^ 7 ^, or ^ 8 ^, nr ^ 8 ^ r ^ 9 ^, nr ^ 8 ^ color ^ 10 ^ optionally independently substituted by one or more hydroxyl, C1-6 alkoxy, halogen or nr ^ 8 ^ r ^ 9 ^ ; R 3 is hydrogen, halogen, C 3 or or 7; R4 is hydrogen, halogen, C1-3, OR8, Nr8r9, Nr8corr10, Nr8SO2r10 or C1-6 alkyl optionally substituted by hydroxyl, C1-6 alkoxy or Nr8 R9; or when alkyl is optionally substituted by hydroxyl, C1-6 alkoxy or nr 8 r 9; or when r ^ 3 ^ and r ^ 4 ^ are positioned - ortho taken together form - 0 (ch ~ 2 ~) ~ m- o, where m is 1-3; R5 is hydrogen or C1-6 alkyl optionally substituted by hydroxyl, C1-6 alkoxy or nr8-8 R9; R6 is hydrogen or C1-6 alkoxy or C1-3 alkylphenyl wherein said phenyl group is optionally substituted by one or more substituents selected from halogen, C1-6 alkyl, cf ~ 3 ~, or ^ 7 ^, nr ^ 8 ^ r ^ 9 ^ or ocf ~ 3 ~; or the groups when attached to a nitrogen atom may together form a 5- or 6-membered ring which optionally contains one more heteroatom selected from nr 7, seo, said ring. of 5 or 6 elements being optionally substituted by hydroxyl or C1-6 alkoxy; or the groups R 8 and R 9 when attached to a hydrogen atom may together form an azetidinyl ring optionally substituted by hydroxyl or C 1-6 alkoxy; and R 10 is C 1-6 alkyl or a phenyl group optionally substituted by one or more substituents selected from halogen, C 1-6 alkyl, C 3-3, ocf -3 or or R 7 ^; and n is 1 or 2. The use of the compounds in the treatment of amyloid disease is also disclosed.compostos. um composto de fórmula (i) ou um sal ou pró-fármaco farmaceuticamente aceitável do mesmo em que x é n ou ch; q é nr^ 6^ ou o; a^ 1^ e a^ 2^ são, independentemente, hidrogênio ou c~ 1-6~ alquil ou podem juntos