config: guarantee initialize config before use