Fixing saveImage