Fix layout settings