stiil a bug in the midiRead func