complete the config file