then the variable change has to be undone