fixed issues with minification