Fix buffer naming bug.