remove duplicates from search