diff --git a/pd/nw/dialog_canvas.html b/pd/nw/dialog_canvas.html
index df61db14767e941bfab78b2fb08ec975c8b5e4aa..b90502fa171aaf3db66547a52eb505b9ca8cf8d9 100644
--- a/pd/nw/dialog_canvas.html
+++ b/pd/nw/dialog_canvas.html
@@ -469,17 +469,17 @@
             hide_name = +document.getElementsByName('hide-name')[0].checked;
 
             pdgui.pdsend([pd_object_callback, 'donecanvasdialog',
-                get_input('x-scale'),
-                get_input('y-scale'),
+                +get_input('x-scale'),
+                +get_input('y-scale'),
                 (gop + 2 * hide_name),
-                get_input('x1'),
-                get_input('y1'),
-                get_input('x2'),
-                get_input('y2'),
-                get_input('x-pix'),
-                get_input('y-pix'),
-                get_input('x-margin'),
-                get_input('y-margin'),
+                +get_input('x1'),
+                +get_input('y1'),
+                +get_input('x2'),
+                +get_input('y2'),
+                +get_input('x-pix'),
+                +get_input('y-pix'),
+                +get_input('x-margin'),
+                +get_input('y-margin'),
                 ].join(' '));
         }