typo in fromTeam substitution