bugfix: gets all pages now