fix global leakage
minor bug fix
Merge pull request #5 from a3gis/master

Fix leaking global variables