Problem solved. It seems that there is more than one way to set something to flat. Anyway that was the problem. Thanks to everyone who offered help.