fix #182
Merge pull request #186 from hmert/master

fix #182