Fix parenthesis and brackets