fix a bug
Merge pull request #258 from irvs/issue255

fix a bug