diff --git a/demo/index.html b/demo/index.html
index e82de8c5..c5468162 100644
--- a/demo/index.html
+++ b/demo/index.html
@@ -1,20 +1,32 @@
-
-
-
- Vite + React + TS
-
-
-
-
-
-
-
-
-
-
+
+
+
+ Vite + React + TS
+
+
+
+
+
+
+
+
+
+
diff --git a/packages/p2p-media-loader-core/src/core.ts b/packages/p2p-media-loader-core/src/core.ts
index 80a12ecf..ee233c93 100644
--- a/packages/p2p-media-loader-core/src/core.ts
+++ b/packages/p2p-media-loader-core/src/core.ts
@@ -164,7 +164,7 @@ export class Core {
return new HybridLoader(
manifestResponseUrl,
segment,
- this.streamDetails as Required,
+ this.streamDetails,
this.settings,
this.bandwidthCalculators,
this.segmentStorage,