fix string formatter