2005 vauxhall astra 1.7 diesel

why is my car stalling every time i put it in reverse. i’ve changed the fuel filter but this has not helped. any solutions would help. could it be the reverse lights are shorting the engine out?