workaround for flaw in config-loading logic