Delete wrong lines