resolved the search error