diff --git a/frontend/src/components/Modals/ManageWorkspace/Documents/Directory/FileRow/index.jsx b/frontend/src/components/Modals/ManageWorkspace/Documents/Directory/FileRow/index.jsx
index 1b8cb81ed0ad05ba2a18348993c6149b81440a8e..ea34b33a4aa762389f1fd3b4b20ffb3586243b19 100644
--- a/frontend/src/components/Modals/ManageWorkspace/Documents/Directory/FileRow/index.jsx
+++ b/frontend/src/components/Modals/ManageWorkspace/Documents/Directory/FileRow/index.jsx
@@ -32,7 +32,7 @@ export default function FileRow({ item, selected, toggleSelection }) {
           weight="fill"
         />
         <p className="whitespace-nowrap overflow-hidden text-ellipsis">
-          {middleTruncate(item.title, 60)}
+          {middleTruncate(item.title, 55)}
         </p>
       </div>
       <div className="col-span-2 flex justify-end items-center">
diff --git a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx
index de4c4f72d7a347c676679abc4d1632dceabc80e4..fcdda9b1bdb105d07d47cd4c759704f4dd13928f 100644
--- a/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx
+++ b/frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx
@@ -222,14 +222,16 @@ function parseChunkSource({ title = "", chunks = [] }) {
 
   if (
     !chunks.length ||
-    (!chunks[0].chunkSource.startsWith("link://") &&
-      !chunks[0].chunkSource.startsWith("confluence://"))
+    (!chunks[0].chunkSource?.startsWith("link://") &&
+      !chunks[0].chunkSource?.startsWith("confluence://") &&
+      !chunks[0].chunkSource?.startsWith("github://"))
   )
     return nullResponse;
   try {
     const url = new URL(
       chunks[0].chunkSource.split("link://")[1] ||
-        chunks[0].chunkSource.split("confluence://")[1]
+        chunks[0].chunkSource.split("confluence://")[1] ||
+        chunks[0].chunkSource.split("github://")[1]
     );
     let text = url.host + url.pathname;
     let icon = "link";