Different results occasionally with the same script? csvSave and !csvLine

If I run the same script 10x, there’s always around 1x where the output is very occasionally jumbled. The script is supposed to have 3 entries per row, but for example, here line 10 on the right “hyundaicapi” decided to overwrite one cell of the previous data, compared to the left when it ran properly and “hyundaicapi” is in a new row:

This is the only way the bug shows up, and when it shows up it does not affect the next entries. What’s going on here? Is this a bug? Running 7.0.11 and here is my script:

{
  "Name": "company numbers",
  "CreationDate": "2022-5-12",
  "Commands": [
    {
      "Command": "XType",
      "Target": "${KEY_BKSP}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "csvRead",
      "Target": "oc_csvread.csv",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XClick",
      "Target": "ew1xhl_dpi_192.png",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "${!COL1}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "1000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_ENTER}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "${!COL1}",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "sourceExtract",
      "Target": "regex=(?<=Total \\().+?(?=\\))",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "storeText",
      "Target": "xpath=//*[@id=\"provider-mounter\"]/div/div[2]/div[2]/div/div/div/div[2]/div/div[2]/div/div/div/div/div[2]/div/div[3]/div/div/div/div/div[2]/div/table/tbody/tr/td[6]/span",
      "Value": "!csvLine",
      "Description": ""
    },
    {
      "Command": "csvSave",
      "Target": "oc_2test",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_BKSP}${KEY_BKSP}${KEY_BKSP}${KEY_BKSP}${KEY_BKSP}${KEY_BKSP}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "1000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_BKSP}${KEY_BKSP}",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "pause",
      "Target": "1000",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "XType",
      "Target": "${KEY_BKSP}",
      "Value": "",
      "Description": ""
    }
  ]
}

(the ${KEY_BKSP} also sometimes doesn’t work, so I added a bunch of them for backup which solved the problem)

Can you add a video of this macro running? Maybe I have an idea then how to make to run more stable.

No solution, but chiming in to say that over the last few months on a variety of patches I’ve been dealing with running macros with !csvLine that randomly will have data from a previous line. maybe something like 2-4% of entries will be copied from the !csvLine that immediately proceeded.

may be csv wasn’t saved and data is still there
need to look at code to troubleshoot.

It happened with me that 2 csv save were in same rows but very less, not always