changes in index of dirDepth