fix #264
Merge pull request #265 from xiechao06/issue264

fix #264