remove the publickey