mode minification modifications