MIDI decoder fix