Fixed newTeam bug