fixed get_team bug, still working on parallel regions, but It might not be correct yet