fixxed create & cancel generation keypair