fix to minify