because something is converting the buffer to a string