Fixing curly braces