fixed getTeamCals() NPE
more npe checks
more npe checks
bad encodiung fixed