onDownload downloads files twice

Hi everyone,

I have a small problem. In my macro, at some point, I need to download a file and rename it, to a declared name. The problem is that after using the ondownload function, two files are downloaded: the one with the changed name, and the file with the original name.
Does anyone know how to correct this so that only the file with the changed name is downloaded?

{
      "Command": "onDownload",
      "Target": "${typOBW}-N${NIP}-P${PESEL}.pdf",
      "Value": "true",
      "Description": ""
    },

    {
      "Command": "store",
      "Target": "true",
      "Value": "!errorIgnore",
      "Description": ""
    },
    {
      "Command": "click",
      "Target": "xpath=//*[@id=\"ui-panel-1-content\"]/div/div/div/button/span",
      "Value": "",
      "Description": ""
    },
    {
      "Command": "store",
      "Target": "false",
      "Value": "!errorIgnore",
      "Description": ""
    },

I never saw this issue. Do you have a link to the website?

Also, why it is an issue? You could simply ignore the wrong file, or?