remove maxBuffer default