WD40 wont do it any good as this is an oil.
clean the contacts as best you can with an old rag / toothbrush.
then use an old cloth soaked in vinegar to wipe them over.
leave for a few hours. if necessary wipe them over again.
wipe the vinegar off before trying new batteries.
anon, August 2007