minify to correct version