fix for greyscale interpolation