change pageInit  to  pageTool