loadConfig is idempotent