delete useless code && add links