remove old minify method