ensure operator precedence