fixed format_dataset bug that zero'd data