remove another reference to getMaxBufferSize