fixed the layout view