remove BufLeave and delete space in buffer name