trying to fix imagemin bug