Fix secret_config error to run locally