use nested autocmds