change read buffer to 1024