fix #215
Merge pull request #218 from xiechao06/issue215

fix #215