bug fix to minify.