Type of program.cattype is string instead int