fix string format specification characters