Remove erroreous lines