fix errors in config files.