fix #273
Merge pull request #280 from xiechao06/issue273

fix #273