Resistance initialization fix