Remove waste lines