fix a bug
Merge pull request #20 from irvs/issue8

fix a bug