fixed color conversion error