delete buffer