fix crash with invalid team abbreviations