changed the buffer size back to 100