I used to happen that too. That happen cause you put the roof on first floor and not the second floor. So, you need first make second floor all flat (no slopes) and then put the roof there. After you put the roof you can do ceiling with CFE. Hope you understand something and if not, just ask!
Here is (hopefully) helpfull tutorial: