Fix ref to old variable name