secret_token repair