fix page layouts