add parent in view