fix compare file