I'd start out by thoroughly cleaning the contacts. if that doesn't help, open them up and check if any pins have bad solder spots (cracked or loose), or any traces are broken. in the latter cases, it's easy to re-solder the pins or bridge the traces with a wire.