fixed bug on multiple instances
Merge pull request #10 from PUGX/fixed

fixed bug on multiple instances