Replaced o2 sensor,but keeps showing code PO141 on 1996 Geo Prizm

Cleared code by disconnecting negative battery terminal,but after short time coe shows back up.

Asked by for the 1996 Geo Prizm
There are 2 O2 sensors in your vehicle. P0141 refers to the number 2 sensor, which is underneath the vehicle. The sensor under the hood is the number 1 sensor. The sensor is the likely culprit for this code, but that cannot be guaranteed.
The 4 wire o2 sensor is the one I replaced.