fix braces in formatwith extension method