fixes repeating search results