reverting the delete pattern