remove the layout