Fix matching for coloring