Bugfix for DataBuffer.