handle int-type and convert to str in wrap