bugfixes in config loaders