Fixes a mismatched variable name introduced in pr#460
Merge pull request #476 from thecelloman/varRenameFix460

Var rename fix460