Fix invalid config settings