Hi microm,
I had this problem before. I couldn't remember how I fixed it, so I did some trial and error. What I came up with is to replace $arg$i with [set arg$i]. Once I got this to work it came back to me that this is what I did before.
However, I prefer your more consistent solution.
Thank...