Merge pull request #342 from VladyslavKurmaz/master

fixed #341