function: kill buffers