coloring bug fix