Fixed undefined variable
Merge pull request #93 from hason/patch-1

Fixed undefined variable