fix broken code of coloring goal item