standardizing array buffers