remove private key and data