Fixing minification bugs