handle int -> string conversion better