fixed SecretKeyCHange issue.