handle null team
reset api object, not api
add PVPlayersRepoApi script api for api repository