Fixed up element buffer.