Fix undefined variable mistake
Merge pull request #56 from cursedcoder/fix/undefined_variable

Fix undefined variable mistake