fix save image