fixed format (needs json fix) & component bugs
diff --git a/src/reflex/scanners.ts b/src/reflex/scanners.ts
index c6a0e32..7c75416 100644
--- a/src/reflex/scanners.ts
+++ b/src/reflex/scanners.ts
@@ -23,10 +23,13 @@
     errored?: boolean;
 }
 
+
 const nsfw_model = await nsfwjs.load("file://dist/reflex/nsfwjs/example/nsfw_demo/public/model/", { size: 299 });
 const clamscanner = await new ClamScan().init({
     clamdscan: {
-        socket: config.clamavSocket
+        socket: "socket" in config.clamav ? config.clamav.socket as string : false,
+        host: "host" in config.clamav ? config.clamav.host as string : false,
+        port: "port" in config.clamav ? config.clamav.port as number : false,
     }
 });