Fixed teh assingnment of the colorClass to the tag object