fixed grayscale export