fix parentheses warnings