make it prompt before deletion
removed needless usage of log