fix whitespace formatting of curly braces