fixed error in dogTeam