add missing parent in model init code gen