fix set to nerdtree with folder_filter will report error