delete useless lines.