fix some error configs for minify html & js