Fixing a credential bug