changed existence check to symlink check before rm