foreach minify