make logic operator become short-circuit