fix extra lines