correct team balance with ally
correct late static binding bug on threshold