fixed corner-case re upgrading MIDI module