fixed extra spaces before right brace.