- fix JPEG creation
- fix regressions from the previous update