Fixed the int errors