fix bufferT