fix a bug in willBeFriendWith