fixed bug of tag coloring