fix undefined variable
Merge pull request #4 from wmin0/master

Thanks @wmin0 fix undefined variable

崩潰~~~~~