fixed up search engine