instead of put switch ex-project, nerdtree function in ex-config/after. I put it to ex-project/after