Fix undeclared variable
Merge pull request #35 from aleax/bugfix

Fix undeclared variable