fix backwards teams bug