The relevance of the illuminated rear light suggests something is either incorrectly connected, or is bleeding current from one place to another. Without hands on using a multi meter to check Voltages and continuity, it’s hard to pin point the fault.
17 – 19 there is a number between those two . . . 😉