fixes bug/11671
Merge pull request #91 from timotheecour/master

fixes bug/11671