fix keychain error.