Need help with a power supply...

That diode is supplying back some kind of voltage back to then regulator (5v out on the 7805 - feedback?)