fixed minor midi issues