delete unused lines