delete unused lines.