Fixed team bug.