Removing erroneous parens in error messages