Remove reference to old variable