Correction to use the intended variables.
Merge pull request #790 from adventuretc/patch-2

Correction to use the intended variables.