fix knowledge tree bug