avoid undefined playerInfo