Stop driving the car with a fuel leak!
Fix the leak as a start point as there needs to be proper fuel pressure in the fuel rail to achieve correct running. If this is not happening you will have big problems.
I had an 03 tdci and the main rail feed union was weeping under pressure. This was enough to put it into limp mode etc. Took a while to find as it didnt leak under normal tickover pressure.