hi there we are a bit more experienced now - yes in ours we need to pull the mattress back a good couple of inches away from the hinged end to give it clearance to close snugly so the roof can go down flat - I now pull it further back around 4 inches as by the time the roof is down its slid back down a bit -so that ensures its still away enough from the hinged bit of the roof to close it flat , the other thing that is a must - is to make sure that you do have a window or door open when closing your pop up roof to avoid a vacuum and to ensure the tent part canvas is folding in rather than billowing or ballooning out to avoid it getting stuck or damaged by the roof when closing down - I have a clip on strap that holds both sides in a bit although when breezy I have to hold it a bit to pull it in and also don't forget to check the third side of the canvas roof as well to check that side is coming in when pulling the roof down if not give it s tweak and pull it in as its coming down to ensure all three sides are folding inside the roof and not trapped - hope that makes sense and good luck !Hi - I’m having exact same issue. Can i ask, when you say ‘make sure the mattress is pulled back a little’ do you mean more toward the front opening or toward the back hinged end? Thanks.