trimming default layout