bufferize last \n