diff --git a/js/pgm_construction.js b/js/pgm_construction.js
index 6e91c93c9a4b65af649a8770191e44c425e8f8e5..2135bcbab729eae496370a8e42ad6c88247b42e9 100644
--- a/js/pgm_construction.js
+++ b/js/pgm_construction.js
@@ -205,6 +205,7 @@ document.getElementById('pgm-load-local').addEventListener(
 
 /* save all data using filesaver.js */
 function blob_download() {
+  local_save() ;
   var blob = new Blob(
     [JSON.stringify(localStorage)],
     {type : 'application/json'}