Fixed bugs in config files