fix issue #3215
Merge pull request #3216 from jsgithub1/defect/3215

fix issue #3215