some fixes for DatasetWrapper, getDatasetDelta function implemented