fix #180
Merge pull request #181 from xiechao06/issue180

fix #180