fixed bugs in layouts