bug fix of GetSearchResults