change apply layout