Properly set layout