The rust on the resistor might be causing bad connections to where some days it will work and others it will not.