The present invention is concerned with novel dual modulators of the 5-HT2A and D3 receptors of formula (I) wherein n, x, Y, R1, R2, R3, and R4 are as described herein, as well as pharmaceutically acceptable salts and esters thereof. Further the present invention is concerned with the manufacture of the compounds of formula (I), pharmaceutical compositions comprising them and their use as pharmaceuticals.