Wiring issue with voltage regulator

See photo