Fix global scope leak
Merge pull request #71 from nimbus154/master

Fix global scope leak