corrected minified version