Fix int errors
Merge pull request #21 from kosgan10/patch-2

Fix int errors