fix to last Rust
- implicit Box<T> borrowing removed
- use indexing insteed of .get() for Vec