fixed op precedence in conditionals