Fixed #289
Merge pull request #290 from edamov/master

Fixed #289