Fixed undefined variable
Merge pull request #102 from pborreli/fix-undefined

Fixed undefined variable