remove reference to old variable