change brackets to parenthesis