fix #142
Merge pull request #157 from xiechao06/issue142

fix #142