Missing return after page number error