fixed crash
Merge pull request #75 from slima4/master

fixed crach