added damping resistor to regulator circuit