fixing the tenantdomain constent issue