fix minified build