Add robustness to get-players-name and get-team-name
Signed-off-by: shunen.chen <shunen.chen@gmail.com>