reinitialize to remove secrets from history