correct the search_friends error