Fix old variable ref