diff --git a/include/simpleplugin/class_simpleManagement.inc b/include/simpleplugin/class_simpleManagement.inc
index caa3c24c56e39137be8ed2d3b51b3b4208c59a3d..0153bf6bce3f09749667dbca04718d3d9a8686f4 100644
--- a/include/simpleplugin/class_simpleManagement.inc
+++ b/include/simpleplugin/class_simpleManagement.inc
@@ -530,7 +530,7 @@ class simpleManagement extends management
    */
   protected function saveChanges()
   {
-    if (($this->tabObject instanceOf tabs) && ($this->dialogObject instanceOf templateDialog)) {
+    if (($this->tabObject instanceOf simpleTabs) && ($this->dialogObject instanceOf templateDialog)) {
       $this->tabObject->save_object();
       $this->handleTemplateApply();
       return;
@@ -544,7 +544,7 @@ class simpleManagement extends management
    */
   protected function cancelEdit()
   {
-    if (($this->tabObject instanceOf tabs) && ($this->dialogObject instanceOf templateDialog)) {
+    if (($this->tabObject instanceOf simpleTabs) && ($this->dialogObject instanceOf templateDialog)) {
       $this->handleTemplateApply(TRUE);
       return;
     }