fix brace formatting