fix unsafe default config