Fixing braces to unify code style