fix paging not displaying records