delete buffer.go