fix target symlink from being destroyed