remove extraneous right brace