Don't use alkaline batteries. They will corrode, as you have found out. I use lithium primaries and rechargeables these days, No more leaking batteries and ruined gear.
_________________________
Geezer in Chief