fix minification issues