fixed long standing operator precendence bug