removed references to undeclared variables
Merge pull request #9 from tomtheisen/master

removed references to undeclared variables