fix dead credentials better.