add autocmd field mask to mode struct