fix minification bug