fix where note off would never happen