fixed duplicate gatherdir