fix bug for search-result