fixed minify bug