             
         }
         
-        guard let nav = menu.rearViewController as? UINavigationController else { return }
-        guard let sideMenu = nav.topViewController as? SideMenuFilterViewController else { return }
+        guard let sideMenu = menu.rearViewController as? SideMenuFilterViewController else { return }
         
         sideMenu.delegate = self
         

        
        UserLocation.instance.initialize()
        configureSlideMenu()
        setFilterDelegate()
    }
    
    override func viewDidAppear(_ animated: Bool) {


    }
    
    func didApplyFilters(_ filter: SideMenuFilterViewController, restaurants: Bool, stores: Bool, openNow: Bool, distanceInMiles: Int) {
        
        isRestaurant = restaurants
        isStore = stores
