fix bug of friend