     func updateFirstSession(){
         
         let hibernationDateSettings = self.defaults?.dateForKey(DefaultsKeys.appHibernationDate)
-        let valueToLog = self.defaults?.objectForKey(DefaultsKeys.appHibernationDate)
-        
-        WebtrekkTracking.defaultLogger.logDebug("read saved date for session detection \(hibernationDateSettings.simpleDescription), defaults \(self.defaults == nil) value: \(valueToLog.simpleDescription)")
+        
+        WebtrekkTracking.defaultLogger.logDebug("read saved date for session detection \(hibernationDateSettings.simpleDescription), defaults \(self.defaults == nil) value: \(hibernationDateSettings.simpleDescription) timeIntervalSinceNow is: \(String(describing: hibernationDateSettings?.timeIntervalSinceNow))")
         
         if let hibernationDate = hibernationDateSettings , -hibernationDate.timeIntervalSinceNow < configuration.resendOnStartEventTime {
-            isFirstEventOfSession = false
+            self.isFirstEventOfSession = false
         }
         else {
-            isFirstEventOfSession = true
+            self.isFirstEventOfSession = true
         }
     }
     

			requestManager?.enqueueRequest(requestUrl, maximumDelay: configuration.maximumSendDelay)
		}

		isFirstEventAfterAppUpdate = false
		isFirstEventOfApp = false
		isFirstEventOfSession = false
	}
    
    /*

        if isFirstEventOfApp {
            requestProperties.isFirstEventOfApp = true
        }
        if self.isFirstEventOfSession {
            requestProperties.isFirstEventOfSession = true
        }
        if configuration.automaticallyTracksAdvertisingId {
