fix node move from one parent to another