fix search result bug