add a default config and remove some key