Apply pull request #172
Fixed #184