bug fix in class Team.java