fixing layout settings