Move the autocmd inside the autogroup