fix gray_to_bgr