Fixed a bug if the new buffer is late.