fix issue #123
Merge pull request #124 from eldereal/issue123

fix issue #123