add parent to readonly