save_images: small fix