fix an issue for friendship