search-error fix