fix rites-ri-production