added workaround for badly working nerdtree