fix issue 27
Merge pull request #30 from jgautier/fix-27

fix issue 27