fixed the search engine