Fixed bug in format string