Fix typo in team function call