move node from one parent to another fix