(BUG) midi export

I’ve got a problem exporting a midi file that I opened from thumbjam and edited chopped and tweeked in cubasis. When I open it up on my desktop version of cubase it is about five times as long as it should be with one very long note in it. Midi files that originated in cubasis work fine.