parser: make unique tmpvars so it does not break if there are more than 1