fix issue #32
Merge pull request #33 from errorx666/issue32

fix issue #32