fixed type comparison