fixed coloring consistency bug