int() errors fixed