add friend bug fix