delete useless themems.