Midi drum recording issue (note holding?)


I am using a Roland TD-6V kit to record midi drums. It seems to have a problem with randomly not recording notes and also not capturing note off. Screenshot attached. You can see from the screenshot that there are the notes with no note off (hihat and snare) and missing notes are snare.

Any idea how to approach this?