fixed jpg/image files auto upgrade on macos