fix sendinit id and key in data