optimize tenants loading