moved some code from treecontroller to exportcontroller, fixed
KnowledgeTreeController.java