fixing the search page