adjust remove directory