         }
         
         // deal with new events
-        let eventsFromCREvents:[EKEvent] = self.crEvents
+        let eventsFromCREvents:[EKEvent] = crEvents
             .map { self.store.event(withIdentifier: $0.calendarItemIdentifier) }
             .filter { $0 != nil }
             .map { $0! }

        
        NotificationCenter.default.rx.notification(.NSCalendarDayChanged)
            .observeOn(MainScheduler.asyncInstance)
            .subscribe(onNext: { [unowned self] _ in self.notificationDealer() })
            .disposed(by:disposeBag)
    }
    

    override func viewDidLoad() {
        super.viewDidLoad()
        
        waitForEventKitAuthorization()
        initTimer = Timer.scheduledTimer(timeInterval: 0.5, target: self, selector: #selector(eventKitAuthorized), userInfo: nil, repeats: true)
    }
    
