fixing search_error (not found)