fix issue one color left in color pattern