Fix for map coloring