fix for minified build