fix operator precedence