added error message if nothing to cancel