fix bug in PickTeams