fixed ajax for paging