fix #261
Merge pull request #263 from xiechao06/issue261

fix #261