changing type in format string