Correction for directory exclusion