fixed coloring bug