workaround for error in config-loading logic