revise dir part