fix TreeNodeEvent creation and notification