revert the boolean comparison