How to Clear/Reset variable when a new/next loop starts

sir, i want variables auto reset/clear when new/next loop starts but its not working. variables stored value remain into next/new loop. my macro code is :-

{
  "Name": "test",
  "CreationDate": "2023-9-20",
  "Commands": [
    {
      "Command": "store",
      "Target": "true",
      "Value": "!ERRORIGNORE",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "loop: ${!LOOP}",
      "Value": "red",
      "Description": ""
    },
    {
      "Command": "echo",
      "Target": "temp_var: ${temp_var}",
      "Value": "red",
      "Description": ""
    },
    {
      "Command": "open",
      "Target": "https://www.google.com/",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "storeValue",
      "Target": "xpath=//input[@value=\"I'm Feeling Lucky\"]",
      "Value": "temp_var",
      "Targets": [
        "name=btnI",
        "xpath=/html/body/div/div[3]/form/div/div/div[4]/center/input[2]",
        "xpath=//div[4]/center/input[2]",
        "css=body > div.L3eUgb > div.o3j99.ikrT4e.om7nvf > form > div:nth-child(1) > div.A8SBwf > div.FPdoLc.lJ9FBc > center > input.RNmpXc"
      ],
      "Description": ""
    }
  ]
}

and result :

please tell me how to auto reset/clear variable on next/new loop. or i need to reset manually at starting macro i.e.
store| |temp_var

Hello, I confirmed this issue, thanks for reporting it. The expected behavior is that when looping using the LOOP button everything is cleared (= just like starting the macro manually with the start button). The only exception would be the content of the !LOOP counter variable.

On the other hand, we don’t really recommend using the loop button anymore. The TIMES command allows you to loop directly inside the macro, this makes everything much more convenient. Or?