fix #271
fix #271
Merge pull request #272 from xiechao06/issue271

fix #271