friend request bug fix 3

change int cast