deleted closing buffer