fix noteIndex counting
v0.2.3