Fixed team editing