fix set color two times