Fixed initialization of OfflineDetectionNode, BaseNode