before deleting manually modify path