remove sume unnecessary lines