don't mess up indices in sequentially/take if an exception is thrown