fixing search pager bug