diff --git a/build/NuSpecs/tools/Web.config.install.xdt b/build/NuSpecs/tools/Web.config.install.xdt
index e5a0262103..1cf886b312 100644
--- a/build/NuSpecs/tools/Web.config.install.xdt
+++ b/build/NuSpecs/tools/Web.config.install.xdt
@@ -54,7 +54,7 @@
-
+
>
@@ -146,7 +146,7 @@
-
+
diff --git a/src/umbraco.cms/businesslogic/CMSNode.cs b/src/umbraco.cms/businesslogic/CMSNode.cs
index 3b4e9c9b31..632227a3c5 100644
--- a/src/umbraco.cms/businesslogic/CMSNode.cs
+++ b/src/umbraco.cms/businesslogic/CMSNode.cs
@@ -809,7 +809,7 @@ order by level,sortOrder";
if (Level == 1) throw new ArgumentException("No newParent node");
if (_parent == null)
{
- _parent = ApplicationContext.Current.Services.EntityService.Get(Entity.ParentId);
+ _parent = ApplicationContext.Current.Services.EntityService.Get(_parentid);
}
return new CMSNode(_parent);
}