fix global variables (#fix 324)
Merge pull request #328 from itchyny/fix-global-variables

fix global variables (fix #324)