fix my custom nerdtree open function