fixing avoid duplicate search results