fixed issue with midi input