fix buffer closing
Vim cleanup