fixed midi input problems