Fix bug in friend acception