bug in operator precedence