Layout error kind of solved