Fit File Repair Request

I've tried with a couple tools but I can't get the data to output properly back into a FIT file :(

This is the fit file from my run yesterday:

The distance suddenly jumps from 5763.53 to 7367.39 (I think it added an extra 1600m because of auto lap + the distance step lapping at the same time

Any help would be incredibly appreciated! I feed the data into trainasone so having accurate stats is somewhat important (if the AI thinks I can run a 10k this fast it's going to kill me on my next runs)