fix the color setting.