fixes #20
Merge pull request #35 from mpetitdant/fix#20

fixes #20