Fixed pageLayout()