Fix bug on keypair response