fix minification errors