some small changes in the config file loading