fix memory, delete symlink