                            options: sideMenuManager.menuAnimationOptions,
                            animations: {
                             self.transition.hideMenuStart()
-                            self.sideMenuDelegate?.sideMenuWillDisappear(menu: self, animated: animated)
+                            self.activeDelegate?.sideMenuWillDisappear(menu: self, animated: animated)
             }) { (finished) -> Void in
-                self.sideMenuDelegate?.sideMenuDidDisappear(menu: self, animated: animated)
+                self.activeDelegate?.sideMenuDidDisappear(menu: self, animated: animated)
                 self.view.isHidden = true
             }
             
             return
         }
         
-        sideMenuDelegate?.sideMenuWillDisappear(menu: self, animated: animated)
+        activeDelegate?.sideMenuWillDisappear(menu: self, animated: animated)
     }
     
     override open func viewDidDisappear(_ animated: Bool) {

            return sideMenuManager.transition
        }
    }
    internal var sideMenuDelegate: UISideMenuNavigationControllerDelegate? {
        get {
            guard !view.isHidden else {
                return nil
            }
            
            return temporarySideMenuDelegate ?? findDelegate(forViewController: presentingViewController)
        }
    }
    
    /// SideMenuManager instance associated with this menu. Default is `SideMenuManager.default`. This property cannot be changed after the menu has loaded.
    open weak var sideMenuManager: SideMenuManager! = SideMenuManager.default {

            return
        }
        
        activeDelegate?.sideMenuDidAppear(menu: self, animated: animated)
        
        #if !STFU_SIDEMENU
        if topViewController == nil {
