fixed #92
Merge pull request #95 from chialin/issue_92

fixed #92