Tool On on custom G-code duplicating on startup

Hello, I am running into an issue with my custom machine. I am wanting to use the custom gcode setting for TOOL ON. The issue is always duplicates whatever code is in that box. Is there going to be a future fix for this issue?

I forgot to mention it only happens the 1st time the tool on is triggered in the beginning of the code. Later tool on calls will only show once.

Is this a MillMage issue?

I think this was discussed in another posting. I think it has to do with it saying insert a tool before the touch probe, then asking for the same tool again at the start of the milling operation.

I do not use the touch probe and I do not see this on my runs.

It will duplicate anything in that box for me. Such as putting M8 it will look like this in the console:
M8
M8

This is if I export the gcode and view it:
;Layer C14
M8
M8