fix temporary request keypair leakage