corrected pageInCategory