Fix fail to execute because of undefined variable
Merge pull request #1 from 5t111111/fix-undefined-variable

Fix fail to execute because of undefined variable