Delete buffer bug solved.