fixed getTeams()