fix a bug
Merge pull request #114 from irvs/issue86

fix a bug