delete usesless keys