line cleanup