fixed calc
Merge pull request #36 from novikam/master

fixed calc