make local exclusion work better