removes secret key