update error message to reference buffers