diff --git a/apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java
index 16ce7337d29b4a64f6c9baa0d1cb731864945596..f4d3d51ad162c605644b75abe8ad2f4b6dd9b29f 100644
--- a/apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java
+++ b/apps/routerconsole/java/src/net/i2p/router/web/GraphHelper.java
@@ -95,7 +95,8 @@ public class GraphHelper extends HelperBase {
                            + "\" title=\"" + title + "\" /></a>\n");
             }
             if (_refreshDelaySeconds > 0)
-                _out.write("<meta http-equiv=\"refresh\" content=\"" + _refreshDelaySeconds + "\" />\n");
+                // shorten the refresh by 3 seconds so we beat the iframe
+                _out.write("<meta http-equiv=\"refresh\" content=\"" + (_refreshDelaySeconds - 3) + "\" />\n");
 
         } catch (IOException ioe) {
             ioe.printStackTrace();