fixing the secret_key