fix issue #38
Merge pull request #82 from HackFisher/issue-38

fix issue #38