deleted ref to old var