fixes #4728
Merge pull request #38 from chengstory/#4528

fixes #4728