Delete needless lines