refactor removing the addition dir