change function order
remove buffers from list at BufDelete