fix minify require