clean up of graph coloring