fixing filter on paging