modify the layout.