buffer clean & destroy