classs was expecting a string when it should be getting an int