fix for using L LT and variants as a format string