compare cleanup