Removed suprfluous call to getPage