fix typo (index_basic_mat -> idx_basic_mat)