fix copy-paste error and minify