bugfix in pagenavigation