bug fix min node color and max node color