Remove dead lines