fix bug 'cant save image to iosimgs'