fix dynamic mapping in grunt imagemin