Fix closing braces