Remove duplication of directory