fix treenode foreignkey problem