a minor fix in Team constructor