Fix the layout.