fix Midi in Main