[Fix] - For idx_index, we should use idx-value to be the position for output, not idx-key