fix to last Rust
- lifetime
- index accessing to vector