fixed incorrect import from midi