fixed bug with unpaginating page