Fix pagesForm