fix grayscale search-and-replace goof