Correcting ZeroData function.