fix team index cancel button