removes unused config options.