updated the buffer size again this may be better