fix to use exclude dir