add gray.min for ie grayscale