Var rename fix460

Fixes a mismatched variable name introduced in pr#460