diff --git a/src/paths.ts b/src/paths.ts
index 104bc2306a64d130ed21c87cf70cb44ee7a389ac..4db69d217edbe4357a873a4e65712a4c46daa0cd 100644
--- a/src/paths.ts
+++ b/src/paths.ts
@@ -11,14 +11,14 @@ declare global {
 
 // TODO: change this to a real cdn
 export const xxdk_s3_path = "http://elixxir-bins.s3-us-west-1.amazonaws.com/wasm/";
-export const default_xxdk_path = new URL(BundleVersion + '/', xxdk_s3_path);
+export const default_xxdk_path = new URL(BundleVersion, xxdk_s3_path);
 // TODO: docstring?
 export let xxdkBasePath : URL | undefined;
 
 if (typeof window! !== 'undefined') {
   if (typeof window!.xxdkBasePath == 'undefined') {
     window!.xxdkBasePath = default_xxdk_path;
-  }
+  } 
 }
 if (xxdkBasePath === undefined) {
   xxdkBasePath = default_xxdk_path;