fix #102
Merge pull request #130 from xiechao06/issue102

fix #102