Bug fix for raw data buffers.