fixed the bugs of the BatchSyncController and BatchSyncLogisticRegression