deleteElement & getParent