fix team edit