bugfix in NewFriend command