bug fix for accept friend request api