Help 99 xj turns off and has low idle
So last week I was wheeling in the rain n found a big puddle n was just smashing in it with the homies right when i was in the middle my jeep just turned off.I'm lifted 4.5in and have 31s and the water was filling my jeep.. I had my homies pull me out I thought I hydrolocked my jeep n was pissed I kept cranking n felt the battery getting weaker n weaker then I cranked it a few more times n it started but I had to have it reved up or it will shut off.. I drove it back home driving with 2 feet have it revedone over 1k so it won't shut off.. the next day I opened the oil filler cap n It had water in the oil i was mad cuz I never saw it overheat n I just replaced the head and the head gasket. I thought I blown the gasket... I did a oil change , replaced air filter cuz it was supper wet and pulled and cleaned the cap n rotor, wires ,and spark plugs and still had that low idle and when I drove I flelt the jeep back fire every time I took off.. I cleaned up most sensors but I don't have codes for that misfire.. idk how to fix it its been a few days and looks like all the water is gone from the crank case idk how water got in the oil if the head gasket is still good..
I need help on that low idle n back fires while talking off
I need help on that low idle n back fires while talking off


