DEPO headlight flickering issues

did you have OEM before? b/c the D2R bulbs won't fit into the housing... you won't be able to lock the bulb down.
Sorry for such a long time away from thread... busy with work.
The issue I had were my bulbs were bad... the tips were burnt (should have taken photos) ebay seller replaced them free of charge.
Curious as how AMG7 fit his OEM bulbs (D2R) bults into a D2S housing... the replacement bulbs I got were a D2C... universal to fit into both D2R & D2S housing.
I programed my cars lighting to manual and it went away. but now I have another problem the housing is starting to melt and my housing came in black and its really easy to see ...

The headlight turns on flickers, then sometimes turns off completely. It happens to both sides and this just started after installing my DEPO's.
BUT here is the thing. Almost every time if I turn it off and then back on it works. Its almost like the bulb has to "warm up".
Any tips or any trouble shooting I can do?
The Best of Mercedes & AMG












