operator precedence error fix