Re-inserted fix in resistor print function.