Fixed bug in config files