fix logical operator naming