diff --git a/models/cache.js b/models/cache.js
index 9fd4ffa..9ffc90a 100644
--- a/models/cache.js
+++ b/models/cache.js
@@ -2,7 +2,6 @@ const UserModel = require("./User");
 const UserCache = [];
 
 module.exports.getAuthor = async function () {
-    console.log("User Cache Length:", UserCache.length);
     const id = this.authorID || this.author?.id;
     let user = UserCache.find(user => user?.id == id)
     if (!user) {
diff --git a/routes/threads.js b/routes/threads.js
index b10814b..df9abc4 100644
--- a/routes/threads.js
+++ b/routes/threads.js
@@ -36,7 +36,7 @@ app.get("/:id/", async (req, res) => {
                     .replaceAll("\n", "<br>");
                 return await message.get_author();
             })));
-        res.reply("thread", { page, thread, messages, scroll: req.query.scroll || thread.messages[0].id });
+        res.reply("thread", { page, thread, messages, scroll: req.query.scroll || messages[0]?.id });
 
         thread.save();