Remove leftover lines