fix buffering issue, update readme