getting the set config, cleanup