Fix undefined variable reference.
Merge pull request #5 from mattonomics/master

Fix undefined variable reference.