replaced match with unwrap()

yes yes is bad but all I was doing was calling fail!() anyway,
which is what unwrap() does