fix deletion of variable
fixed remove of variable