Change image name on save and fix save image.