Added error message to delete command