add space before closing brace