fixed the paging and checked if the >1000 rows issue is working