Cleanup the layout