Fixing pagelayout