diff --git a/src/modules/Image/doc/Image.image.html b/src/modules/Image/doc/Image.image.html
index 8135a5bf1f53b63904d9daabc9ddedae19c4e60b..6625302dddd71a6f59a128da39be7408dabf6b0a 100644
--- a/src/modules/Image/doc/Image.image.html
+++ b/src/modules/Image/doc/Image.image.html
@@ -1188,9 +1188,7 @@ a gif chunk that defines that the GIF animation should loop
 <hr>
 <h4>SYNOPSIS</h4>
 <blockquote>
-<tt>int <b>xsize</b>()<br>
-int <b>ysize</b>()<br>
-object <b>grey</b>()<br>
+<tt>object <b>grey</b>()<br>
 object <b>grey</b>(int&nbspr, int&nbspg, int&nbspb)</tt>
 </blockquote>
 
@@ -2226,18 +2224,44 @@ Draws a filled rectangle with colors (and alpha values) tuned
   <dd>rectangle corners
 <dt><tt>array(array(int)) corner_color</tt>
   <dd>colors of the corners:
+     <pre>
+     ({x1y1,x2y1,x1y2,x2y2})
+     </pre>
+     each of these is an array of integeres:
+     <pre>
+     ({r,g,b}) or ({r,g,b,alpha})
+     </pre>
+     Default alpha channel value is 0 (opaque).
+</dl></blockquote>
+<h4>RETURNS</h4>
+
+
+<blockquote>
+the object called
+</blockquote>
+
+<hr>
+<h4>SYNOPSIS</h4>
+<blockquote>
+<tt>int <b>xsize</b>()</tt>
+</blockquote>
 
-<p>     ({x1y1,x2y1,x1y2,x2y2})
+<h4>RETURNS</h4>
 
-<p>     each of these is an array of integeres:
 
-<p>     ({r,g,b}) or ({r,g,b,alpha})
+<blockquote>
+the width of the image
+</blockquote>
+
+<hr>
+<h4>SYNOPSIS</h4>
+<blockquote>
+<tt>int <b>ysize</b>()</tt>
+</blockquote>
 
-<p>     Default alpha channel value is 0 (opaque).
-</dl></blockquote>
 <h4>RETURNS</h4>
 
 
 <blockquote>
-the object called
+the height of the image
 </blockquote>
diff --git a/src/modules/Image/mkdoc.pike b/src/modules/Image/mkdoc.pike
index 4992809bb9d1cd33b97a73cdb43b244d5b9d9ac2..89049791359e9bd4f373910590ab0c93a4256562 100644
--- a/src/modules/Image/mkdoc.pike
+++ b/src/modules/Image/mkdoc.pike
@@ -94,6 +94,7 @@ mapping keywords=
 	  {
 	     if (!methodM) 
 	        return complain("returns w/o method");
+	     nowM=0;
 	     methodM->returns=stripws(arg);
 	  }
 ]);
@@ -314,6 +315,8 @@ void document_class(string title,
 	       document_method(f,method,prefix);
 	       method_names-=method->names;
 	    }
+	 if (method_names[method_name])
+	    stderr->write("failed to find "+method_name+" again, wierd...\n");
       }
 
    f->close();