fixed typo in var name
Fixing errors introduced in merge in commit c0707ddf