paginator fix on search results