Fix destroy team error