Fixed "page not int" bug.