fix inverted color