Midi out of time

I am having trouble with midi when I duplicate a clip its starts to make a gap on the next clip making it sound out of time audio and mind
so halfway in the second vi

Please help

Are you sure there’s no tempo change in that region? Have you already checked it?
You have tempo set to 128.520, perhaps it was automatically set by warp or something, then there could be some left over. If there is a much slower tempo written at around bar9, what you are seeing may happen.

Thanks activate tempo track was on
Still having the same problem with midi

Maybe the midi it has something to do with this