Fix buffering data.