fixed player_teams function reference