added output in case of errors on delete