change buffer and refill size to 100