fix regression in FormatHelper