I replaced sensornote0102 by sensornote99
I though that perhaps it was confusing the names. but no. it is still triggering sensornote99 when it should only trigger sensornote01
at least we now know that is not the code. is something else related to the midi messages!!!!