Fix compare file