fixed color saving bug