fixed paging issue after 2nd page