fixed the search