diff --git a/ippisite/ippidb/static/js/compound_form.js b/ippisite/ippidb/static/js/compound_form.js
index e5b3896e78d3ae04b712dbff3608c675de9d75a5..eff0c9710515d9d71a4d626638d3c49f203d9acc 100644
--- a/ippisite/ippidb/static/js/compound_form.js
+++ b/ippisite/ippidb/static/js/compound_form.js
@@ -10,6 +10,7 @@ function update_molecule_composition_fields() {
         that.val('').prop("disabled", true);
     }
     if ($this.attr("name").indexOf("smiles") > 0) {
+        showCanvas(this);
         let canvas = $("#canvas-" + $this.attr("name"));
         //console.log("canvas name:",canvas);
         canvas.attr("data-smiles", $this.val());
@@ -82,7 +83,6 @@ function showCanvas(Compound){
     var z = Compound.value;
     var x = document.getElementById('canvas_window-'.concat(Compound.name));
     var y = document.getElementById('canvas_placeholder-'.concat(Compound.name));
-    console.log("test onclick",Compound);
     if (z!="") {
         x.style.display = "flex";
         y.style.display = "none";