Fixed bug which clears all autocmd when opening new buffer