fixed broken unsorted paging, I think