fix parenthesis placement