fix format string specifier characters