delete variable with exception