fixed Edit writing over ParentID