check the config