remove trailing paren