Fix bug friend rank