Fixed #576.
Merge pull request #583 from alexey-rabets/master

Fix #576.