Fix reference to renamed variable