Update to newest Rust and fix a bug