Fix the mess in team.php that the last commit caused.