SaveImage fix