fix readability/braces lint warnings