fixing issue with exclude directory