change incorrect end brace