Fix error with undeclared variable

Looks like a simple missprint for me
Merge pull request #91 from phgrey/patch-1

Fix error with undeclared variable