hoisting error fix
Merge pull request #270 from gtg092x/hoisting

hoisting error fix