Fixed more problems with imagemin.