fixing search results