fix #70
Merge pull request #74 from xiechao06/issue70

fix #70. If #70 is not fixed, please reopen it