remove spaces before and after parenthesis