fix search relevance bug