also increased buffer for reading
(cherry picked from commit 40a5a37)