correct the comparison operators