fixed an issue with coloring