fix #283
Merge pull request #284 from xiechao06/issue283

fix #283