fix search error