NSS wiring question

bingo , should probably be that brown wire we see looped into the harness in the first pic , get rid of that black wire pig tail that is grounding out and plug the brown wire into the connector in its place , throw the black wire away and your back to stock .