fix excluding files problem