fix minify to v2