Fixed invalid int error