small bug fix in team enumeration