convert integers to strings properly