Fix compare