fix typo on transition index