fixed: pname() didn't give the proper team name