during reload operations the element is detached so we need to save the parent for later calculations