fixing grayscale