diff --git a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl
index 34cda149620590fe0602a26fb7ebec5dc0cad012..7f86b95350832ea439a7af80262afd37cdffc23a 100644
--- a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl
+++ b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImport.ftl
@@ -27,6 +27,10 @@
                     </div>
                 </div>
 
+                <script>
+                    transactionNameSuggestions = {};
+                </script>
+
                 <@header.content>
                     <div class="container">
                         <#if csvRows??>
diff --git a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImportMacros.ftl b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImportMacros.ftl
index 86fdd0c0d2d09d9704514b7218a9b409a8fc3b13..b383e17c5aa2e0ffddff9a9f6f8ee07f1a937725 100644
--- a/BudgetMasterServer/src/main/resources/templates/transactions/transactionImportMacros.ftl
+++ b/BudgetMasterServer/src/main/resources/templates/transactions/transactionImportMacros.ftl
@@ -186,6 +186,8 @@
             </tbody>
         </table>
     </div>
+
+    <@newTransactionMacros.insertNameSuggestions/>
 </#macro>
 
 <#macro renderCsvTransaction csvTransaction index>
@@ -240,8 +242,6 @@
             </td>
         </form>
     </tr>
-
-    <@newTransactionMacros.insertNameSuggestions/>
 </#macro>
 
 <#macro showColumnSettingsErrors>