fix issue #136
Merge pull request #143 from AntoineD/master

fix issue #136