Fixed undefined variable bug
Merge pull request #1 from cameronbwhite/master

Fixed undefined variable bug