refine config, warning when feature disabled.