fix buffering issue
3.0.1