fix issue #556
Merge pull request #919 from Esenin/#556

fix issue #556