fixed #341
Merge pull request #342 from VladyslavKurmaz/master

fixed #341