fix Compare