fix #217
Merge pull request #224 from smithfox/patch-1

fix #217