paging works until i search