fix layout settings