Fixed bug in DataBuffer.