fixed a bug in knowledgetreecontroller