fix baseId when copying node