First things first, if the batteries have corroded, dispose of them according to your local waste authority guidelines, or ...