editing minify to avoid redoing a links