Fixed a small error regarding pages