fixed crash if not on a team