fix minified version bug