fixed the color converter