simplify layouts