Fixing mismatched curly braces.