fixing overflow
Merge pull request #7 from azamatus/fix

fixing overflow