fixed MIDI voice bug