diff --git a/include/class_listing.inc b/include/class_listing.inc
index 51c99396d8f32ce4f4be75fe9a30140501a47d89..b948254cf4d54174efe63ed72eb8b7edc977c887 100644
--- a/include/class_listing.inc
+++ b/include/class_listing.inc
@@ -341,7 +341,7 @@ class listing
     global $ui;
 
     // Check for exeeded sizelimit
-    if (($message = $ui->sizeLimitHandler()->check()) != '') {
+    if (($message = $ui->getSizeLimitHandler()->check()) != '') {
       return $message;
     }
 
@@ -484,7 +484,7 @@ class listing
     $smarty = get_smarty();
     $smarty->assign("usePrototype", "true");
     $smarty->assign("FILTER", $this->filter->render());
-    $smarty->assign("SIZELIMIT", $ui->sizeLimitHandler()->renderWarning());
+    $smarty->assign("SIZELIMIT", $ui->getSizeLimitHandler()->renderWarning());
     $smarty->assign("LIST", $result);
     $smarty->assign("MULTISELECT", $this->multiSelect);