fixed the midi output