remove reference to original directory