Fixed extra spaces before closing braces