fix overrun of internal data buffer for datablocks