Improve the feedback of the delete function.