remiving unlimited maxBufferLen. bug