remove some extra lines