fixing invalid config options