Variable typo

Typoed variable name, use of undeclared variable