fix get_friends method