remove directory dependency