tweaked some buffer sizes