fix for chrome, minified version