diff --git a/modules/delete.php b/modules/delete.php
index 998a168..b98bee8 100644
--- a/modules/delete.php
+++ b/modules/delete.php
@@ -28,11 +28,11 @@ if ($result = $mysqli -> query ("
                 WHERE
                   (thread_id = $thread) AND (response_id = $id)");
 
-        echo "消しましたぁ!!
";
+        echo "消しましたぁ!!
";
     else:
         echo '残念.
削除用パスワードが違います.';
     endif;
 
-    echo "
5 秒後に元のページに戻ります.
戻らない場合はこちら";
+    echo "
5 秒後に元のページに戻ります.
戻らない場合はこちら";
 endif;
 
diff --git a/modules/make_thread.php b/modules/make_thread.php
index 8fc0a8a..8ae4b56 100644
--- a/modules/make_thread.php
+++ b/modules/make_thread.php
@@ -17,7 +17,7 @@ if (!(empty ($_POST['thread-name'])))
 
     $result -> close ();
 
-    $sql = "INSERT INTO threads (id, title, `explain`, latest, length) VALUES ($current, '{$_POST['thread-name']}', '$explain', '" . date ('Y-m-d H:i:s') . "', 0)";
+    $sql = "INSERT INTO threads (title, `explain`, latest, length) VALUES ('{$_POST['thread-name']}', '$explain', '" . date ('Y-m-d H:i:s') . "', 0)";
     $mysqli -> query ($sql);
 /*  $sql = "CREATE TABLE `miteruzo_bbs`.`thread_$current` (
             `id` INT( 11 ) NOT NULL AUTO_INCREMENT PRIMARY KEY COMMENT 'レス番',
diff --git a/scripts/paint.js b/scripts/paint.js
index 9d90c53..899b99f 100644
--- a/scripts/paint.js
+++ b/scripts/paint.js
@@ -872,7 +872,7 @@ deletePostReally ()
               {
                 const searchParams = new URLSearchParams (window.location.search);
 
-                window.location.href = `./delete.php?thread=${searchParams.get (
+                window.location.href = `./modules/delete.php?thread=${searchParams.get (
                     'thread')}&id=${delId.value}&pass=${delPass.value}`;
               }
             else