clean up before symlink