fixed minify and optimize