Remove needless lines