fix bug of add friend and get friend