I recently replaced a cooktop and would like to confirm that I wired it correctly. Old Red black and bare wires into the junction box from the wall. Old wall oven with red black white and bare wires into junction box. New cooktop has red black and bare wires.I joined red to red,black to black and bare to bare. I also joined white to bare. All functions fine. Not confident white to ground is ok. Would appreciate advice.House and oven 45 yrs old.