fix issue #2
Merge pull request #3 from ipfans/master

fix issue #2