"Too many options" error when using ODKMETA

I am trying to use ODKMETA for my ODK Data. However in the do file generated, the "local fromto" section of the code below is popping up a "too many options" error. It seems it is a syntax error. Your support will be much appreciated if anyone can help to resolve it. Thanks.

This is my first time here, Apologies if my message is not well communicated.

  • Attach field labels as variable labels and notes.
    ds, has(char Odk_long_name)
    foreach var in `r(varlist)' {
    • Variable label
      local label : char var'[Odk_label] mata: st_varlabel("var'", st_local("label"))

    • Notes
      if :length local label' { char var'[note0] 1
      mata: st_global("var'[note1]", "Question text: " + /// st_global("var'[Odk_label]"))
      mata: st_local("temp", ///
      " " * (strlen(st_global("var'[note1]")) + 1)) #delimit ; local fromto { "temp'"
      } "{c )-}"
      "temp'" "{c -(}" ' "{c 39}" "" "{c 'g}"
      "$" "{c S|}"
      ;
      #delimit cr
      while :list sizeof fromto' { gettoken from fromto : fromto gettoken to fromto : fromto mata: st_global("var'[note1]", ///
      subinstr(st_global("var'[note1]"), "from'", "`to'", .))
      }
      }
      }