fix input tandem index