Hot fix when replacing the contents of a buffer