diff --git a/web/pages/mxq/mxq.in b/web/pages/mxq/mxq.in
index f188b33f..f921fe1d 100755
--- a/web/pages/mxq/mxq.in
+++ b/web/pages/mxq/mxq.in
@@ -251,6 +251,7 @@ sub job_table_pending {
 	if ($cnt==$LIMIT) {
 		$out.=$q->p($q->em("(truncated after $LIMIT rows)"));
 	}
+	return $out;
 }
 
 sub job_table_running {
@@ -359,6 +360,7 @@ __EOF__
 	if ($cnt==$LIMIT) {
 		$out.=$q->p($q->em("(truncated after $LIMIT rows)"));
 	}
+	return $out;
 }
 
 sub job_status_filter_buttons {