remove pairing of braces and parenthesis