fix issue #139
Merge pull request #142 from AntoineD/master

fix issue #139