change directive to move to parent