Fixed int errors