change fields names in buffer.go