fix team index