fixed closing braces