         
         self.addModule(module, for: controller)
         
-        let controllersToPop = self.navigationController.viewControllers
+        let controllersToPop = self.navigationController.viewControllers.reversed()
         
         controllersToPop.forEach {
             self.willPopViewController($0)

            return controller
        }
                
        let controllersToPop = self.navigationController.viewControllers
        
        controllersToPop.forEach {
            self.willPopViewController($0)

    func popAllModules(animated: Bool) {
        MXLog.debug("[NavigationRouter] Pop all modules")
        
        let controllersToPop = self.navigationController.viewControllers.reversed()
        
        controllersToPop.forEach {
            self.willPopViewController($0)
