Fixed the search engine