add minify condition