fixed comparison operators