get proper home/away codes for teams