O2 Sensor Location for OBD swap

I just installed a B16a into my teg and did the OBD 1 swap I get the code 41, and I have it all pinned correctly. I’m wondering do I have to move my O2 sensor to the bottom of the Header? It sits about 6 inches from the cylinder head (stock location on a 90-91 Integra). I don’t have a code 1 for the O2 signal just the stupid ass heater.

If you wired it right there should be no reason for the ecu to throw a code 41. Recheck wiring.