fixed #29
Merge pull request #57 from peterrus/patch-issue-29

fixed #29