reset blink codes

Need some help with my 07 Sportsman 500 HO deluxe.

It was sluggish around 35 and topping out around 40.
I finally got around to looking at it and pulled some codes.

Started off with 22 and 55. I started looking around at wires and found a few bare on the connector to the IAC. I fixed those and ran diagnostics once before plugging the connector back in. Now I get a 45 code as well.

did the same with the MAP sensor, and now I have a 47 code.

I went through the entire harness and verified every connection is good. disconnected/reconnected the computer, cleaned terminals, etc.

Here’s the problem – I think the wiring is fixed but I can’t get the codes to reset. I’ve had the battery off many times for the 30 seconds as stated in the manual as well as for hours and even overnight. Can’t seem to get it to clear out the codes. Anyone know any other tricks to reset?