fixes #3332 : correct use of parametrized variables
Merge pull request #136 from ncharles/bug3332/dev/correct_use_of_parametrized_variables

fixes #3332 : correct use of parametrized variables