check that variable exist when interrupting