catch false case in equality check