Fix the bug that when root node has classifications the system will throw NullPointerException