diff --git a/index.html b/index.html
index 4c0481cf85caf33e3d3bf76ee649d3fbb1e6db29..04575d5ee2420688309ef823440e420668c006ea 100644
--- a/index.html
+++ b/index.html
@@ -368,14 +368,12 @@
           if (isCard === false) {
             ctx.font = PUBKEY_URI_FONT;
             address = document.baseURI;
-            let metrics = ctx.measureText(address);
-            let addressWidth = metrics.width;
-            // write URI on the right side
             ctx.save()
-            ctx.translate(CANVAS_WIDTH - MARGIN_CANVAS, CANVAS_HEIGHT - MARGIN_CANVAS)
-            ctx.rotate(-Math.PI/2);
+            xPosURL = CANVAS_WIDTH - MARGIN_CANVAS;
+            yPosURL = yPosPubkey;
             ctx.fillStyle = "grey";
-            ctx.fillText (address, 0, 0);
+	    ctx.textAlign = "end";
+            ctx.fillText (address, xPosURL, yPosURL);
             ctx.restore()
           }