fix #80
Merge pull request #92 from PuZheng/issue80

fix #80