fixed bug related to path exclusion