fix parenthesing