Fix team rank