extra lines removal