fix #171
Merge pull request #172 from ariovistus/master

fix #171