fix #251
Merge pull request #252 from ilya-murzinov/Issue251

Fix #251