delete useless debug information