Fix mismatched format string conversions