fix buffersize