fix parentheses problem